* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, #map {
    width: 100%;
    height: 100%;
}

.map-title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 80px;
    line-height: 80px;
    text-align: center;
    font-size: 40px;
    font-family: sans-serif;
    color: #03C5D4;
    background-color: rgba(10,24,39,0.95);
}

#warning-info {
    position: absolute;
    top: 20px;
    left: 76%;
    width: 120px;
    height: 40px;
    font-size: 18px;
    color: #00EDFF;
    line-height: 38px;
    font-weight: normal;
    font-family: sans-serif;
    border: 1px solid #00EDFF;
    cursor: pointer;
}

.octagon-box {
    position: absolute;
    width: 440px;
    height: 120px;
    background-color: rgba(13,28,43,0.95);
    z-index: 50;
    border-left: 1px solid #00EDFF;
    border-right: 1px solid #00EDFF;
}

.octagon-box::before {
    content: "";
    position: absolute;
    top: -30px;
    width: 380px;
    border-color: transparent transparent rgba(13,28,43,0.95) transparent;
    border-width: 0 30px 30px 30px;
    border-style: solid;
    z-index: -1;
}

.octagon-box::after {
    content: "";
    position: absolute;
    bottom: -30px;
    width: 380px;
    border-color: rgba(13,28,43,0.95) transparent transparent transparent;
    border-width: 30px 30px 0 30px;
    border-style: solid;
    z-index: -1;    
}

.octagon-box-corner1 {
    display: block;
    position: absolute;
    top: -30px;
    left: -2px;
    z-index: 10;
}

.octagon-box-corner2 {
    display: block;
    position: absolute;
    top: -30px;
    right: -2px;
    z-index: 10;
}

.octagon-box-corner3 {
    display: block;
    position: absolute;
    bottom: -30px;
    left: -2px;
    z-index: 10;
}

.octagon-box-corner4 {
    display: block;
    position: absolute;
    bottom: -30px;
    right: -2px;
    z-index: 10;
}

.octagon-box-border-top {
    position: absolute;
    top: -29px;
    left: 30px;
    width: 380px;
    height: 1px;
    background-color: #00EDFF;
    z-index: 10;
}

.octagon-box-border-bottom {
    position: absolute;
    bottom: -29px;
    left: 30px;
    width: 380px;
    height: 1px;
    background-color: #00EDFF;
    z-index: 10;
}

.octagon-box-title {
    position: absolute;
    top: -30px;
    left: 20px;
    width: 397px;
    height: 40px;
    text-align: center;
    line-height: 44px;
    background-image: linear-gradient(-90deg, rgba(8,57,79,0.00) 0%, #073A51 50%, rgba(8,54,79,0.00) 100%);
    border-bottom: solid 2px black;
    border-image: linear-gradient(-90deg, rgba(0,237,255,0.0) 0%, rgba(0,237,255,0.0) 10%, rgba(0,237,255,1) 50% ,rgba(0,237,255,0.0) 100%) 2% stretch;
}

.octagon-box-title span {
    font-size: 22px;
    color: #00EDFF;
}

#incident-info {
    left: 20px;
    top: 150px;
    height: 310px;
}

#incident-chart {
    width: 100%;
    height: 100%;
}

#congestion-info {
    left: 20px;
    top: 540px;
    height: 418px;
}

#congestion-chart {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    z-index: 50;
}

#weather-info {
    right: 20px;
    top: 150px;
    height: 310px;
}

#weather-chart {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    z-index: 50;
}

#road-weather-info {
    right: 20px;
    top: 540px;
    height: 418px;
}

#road-weather-chart {
    width: 100%;
    height: 100%;
    padding-top: 10px;
    z-index: 50;
}

.search-box {
    position: absolute;
    top: 120px;
    right: 480px;
    width: 396px;
    height: 40px;
    border: 1px solid #0A899A;
    background: #152536;
    z-index: 50;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    padding-left: 40px;
    font-size: 14px;
    color: #00EDFF;
}

.search-box input:focus {
    outline: none;
}

.search-box input::-webkit-input-placeholder { /* WebKit browsers */
    color: #00EDFF;
    opacity: 0.3;
}
.search-box input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #00EDFF;
    opacity: 0.3;
}
.search-box input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #00EDFF;
    opacity: 0.3;
}
.search-box input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #00EDFF;
    opacity: 0.3;
}

.search-icon {
    display: block;
    position: absolute;
    top: 10px;
    left: 12px;
}

.sign {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    line-height: 0;
}

.sign-up {
    display: inline-block;
    width: 80px;
    height: 36px;
    background: rgba(0,237,255,0.30);
    border: 1px solid #03C5D4;
    box-shadow: inset 0 0 8px 0 #03C5D4; 
    font-size: 18px;
    color: #00EDFF;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
}

.sign-in {
    display: inline-block;
    width: 80px;
    height: 36px;
    font-size: 18px;
    color: #00EDFF;
    opacity: 0.5;
    line-height: 35px;
    text-align: center;
    background: #152536;
    border: 1px solid #0A899A;
    cursor: pointer;
}


.weather-switch {
    position: absolute;
    top: 120px;
    left: 500px;
    z-index: 50;
}

.weather-switch-selected {
    width: 100px;
    height: 40px;
    font-size: 16px;
    color: #FEC819;
    line-height: 40px;
    text-align: center;
    background: #152536;
    border: 1px solid #FEC819;
    margin-bottom: 10px;
    cursor: pointer;
}

.weather-switch-not-selected {
    width: 100px;
    height: 40px;
    font-size: 16px;
    color: #00EDFF;
    line-height: 40px;
    text-align: center;
    background: #152536;
    border: 1px solid #0A899A;
    margin-bottom: 10px;
    cursor: pointer;
}

.rb-button {
    position: absolute;
    right: 500px;
    bottom: 170px;
    z-index: 50;
    text-align: center;
    font-size: 12px;
    color: #00EDFF;
}

.rb-button > div {
    margin-bottom: 20px;
}

#timeline-box {
    position: absolute;
    bottom: 90px;
    width: 780px;
    height: 75px;
    left: 50%;
    margin-left: -390px;
    z-index: 50;
    background: #152536;
}

#legend {
    position: absolute;
    left: 480px;
    bottom: 185px;
    width: 100px;
    height: 120px;
    background: #152536;
    border: 1px solid #0A899A;
    border-radius: 6px;
    z-index: 50;
}

#loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #152536;
    z-index: 10;
}

#loading img {
    display: block;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
}